﻿using System;
using System.Data;
using System.Collections.Generic;
using ASER.BusinessLogic.BaseBusinessLogic;
using DataAccess.Platform;
using ASER.DataEntity.Security;
using ASER.DataAccess.Security;

namespace ASER.BusinessLogic.Security
{
    /// <summary>
    /// 业务逻辑类:ApplicationBusiness
    /// 文  件  名:ApplicationBusiness.cs
    /// 说      明:应用程序管理业务逻辑对象
    /// </summary>
    public class ApplicationBusiness : BaseBusinessLogic<ApplicationDataAccess>
    {
        #region 构造器

        public ApplicationBusiness()
        {

        }

        #endregion

        #region 公共方法

        public List<ApplicationEntity> GetApplications()
        {
            return DataAccess.GetApplications();
        }

        public ApplicationEntity GetApplication(string ApplicationNo)
        {
            return DataAccess.GetApplication(ApplicationNo);
        }

        public int SaveApplication(ApplicationEntity Application)
        {
            return DataAccess.SaveApplication(Application);
        }

        public int DeleteApplication(ApplicationEntity Application)
        {
            return DataAccess.DeleteApplication(Application);
        }

        #endregion
    }
}
